﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace printer
{
    /// <summary>
    /// class that has content of the order
    /// </summary>
   public class component         
    {
        private string _type;
        private int _count;
        private double total_cost;            // احسبه ليه 
        

        public string type
        {
            set { this._type = value; }
            get { return this._type; }
        }
        public int count
        {
            set { this._count = value; }
            get { return this._count; }
        }
        public double cost
        {
            set { this.total_cost = value; }
            get { return this.total_cost; }
        }
    }
}
